projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c7770
)
Set the clip on range widgets
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 8 Nov 2014 17:55:03 +0000
(12:55 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 8 Nov 2014 17:55:37 +0000
(12:55 -0500)
This will allow better scrollbar theming.
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index 62801c5f0bc7563ceb3b9d4c548821e275e3864c..51898efc3fe1adf4e707840cec9e4b161ba35eac 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-42,6
+42,7
@@
#include "gtkscrollbar.h"
#include "gtktypebuiltins.h"
#include "gtkwindow.h"
+#include "gtkwidgetprivate.h"
#include "a11y/gtkrangeaccessible.h"
/**
@@
-1638,6
+1639,8
@@
gtk_range_size_allocate (GtkWidget *widget,
gdk_window_move_resize (priv->event_window,
allocation->x, allocation->y,
allocation->width, allocation->height);
+
+ _gtk_widget_set_simple_clip (widget, NULL);
}
static void